package com.examples.oryarok;

import android.app.Activity;
import android.os.Bundle;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;

public class Login extends Activity implements OnClickListener{
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.login);
        
        // Set up click listeners for all the buttons
        View logInButton = findViewById(R.id.enter_button);
        logInButton.setOnClickListener(this);
//        View newButton = findViewById(R.id.new_button);
//        newButton.setOnClickListener(this);
//        View aboutButton = findViewById(R.id.about_button);
//        aboutButton.setOnClickListener(this);
//        View exitButton = findViewById(R.id.exit_button);
//        exitButton.setOnClickListener(this);
    }
    
  
	public void onClick(View v) {
    	switch (v.getId()) {
    	case R.id.enter_button:
    		Intent i = new Intent(this, HelloTabWidget.class);//Home.class
    		startActivity(i);
    		break;
    		// More buttons go here (if any) ...
    	}
    }
}